package com.douwong.student.factory;

import com.douwong.student.enums.E_SubjectType;

/**
 * @autor yichao
 * @time 2017/4/717:20
 * @des ${TODO}
 */
public class TopicTypeFactory {
    public static String getTopicType(E_SubjectType type) {
        String data = "";
        switch (type) {
            case single:
                data = "单选题";
                break;
            case multiple:
                data = "多选题";

                break;
            case completion:
                data = "填空题";
                break;
            case judgment:
                data = "判断题";
                break;


        }
        return data;

    }

}
